-- lost_light
-- create by zhuangsl
-- 失明导致不能守护格子

return {
    apply = function(prop, baseValue)
        -- 提升的值
        return prop[3];
    end,
    
    clear = function(target, prop)
        -- 抛出一个事件就行了
        if target.type == OBJECT_TYPE_MONSTER then
            -- 怪物清除了“失明”事件
            EventMgr.fire(event.GRID_LOCK_STATE, {["pos"] = target:getOwner(), });
        end
    end,
    
    record = function(target, prop, path)
        return false;
    end 
};
